#include "UI.h"
#include"user.h"
#include"connectdb.h"
#include"book.h"
#include"manage.h"
#include"purchaseRecord.h"

ManageBook Man_book;
db database;
ManageUser Man_user;
ManagePurchaseR Man_PurchaseR;
int  main(int argc,char *argv[])
{
    
    database.db_init();
    database.db_conn();
    database.dbToList();
    UI * p = UI::getInstance() ;
    p->LoginInteface();
    database.free_close_conn();
        
    return 0;
}